package com.mxpio.erp.common.equipment.entity;

import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_REPAIR_EVALUATE_DETAIL")
@Schema(description="维修评价")
public class EquipmentRepairEvaluateDetail extends BaseEntity {

    /**主键*/
    @Id
    @Generator
    @Column(name = "ID_", updatable = false)
    @Schema(description = "主键")
    private String id;

    /**工单编码*/
    @Column(name = "BIZ_NO_")
    @Schema(description = "维修工单编码")
    private String bizNo;
    /**评价内容*/
    @Column(name = "CONTENT_")
    @Schema(description = "评价内容")
    private String content;
    /**评价分数*/
    @Column(name = "SCORE_")
    @Schema(description = "评分")
    private double score;

    @Column(name = "DESC_")
    @Schema(description = "备注")
    private String desc;
}
